package com.kaifamiao.mapper;

import com.kaifamiao.pojo.Department;
import com.kaifamiao.pojo.Doctor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface IDepartmentMapper {
    public List<Department> findAll();
    public int delete(int id);
    public Department selectById(int id);
    public int update(Department department);
    public int add(Department department);

    public List<Department> selectDoctorAndDepart(int id);
}
